class Sort {
public:
    static int sum(int a, int b) {
        return a + b;
    }
    static int sort(int arr[], int size) {
        int val = arr[i];
	int l = i;
	int r = j;
	while (l < r) {
	    while (l < r && arr[r] >= val) {
	        r--;
	    }
	    if (l < r) {
	        arr[l++] = arr[r];
	    }
	    while (l < r && arr[l] >= val) {
	        l++;
	    }
	    if (l < r) {
	        arr[r--] = arr[l];
	    }
	}
	arr[l] = val;
    }
};
